package cn.mulanbay.admin.api.web.bean.request.role;

import cn.mulanbay.common.bean.PageSearch;
import cn.mulanbay.persistent.enums.CommonStatus;
import cn.mulanbay.persistent.query.Operator;
import cn.mulanbay.persistent.query.Query;

/**
 * @author fenghong
 * @create 2022-01-16 10:00
 */
public class RoleSearch extends PageSearch {

    @Query(column = "name", op = Operator.LIKE)
    private String name;

    @Query(column = "status", op = Operator.EQ)
    private CommonStatus status;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public CommonStatus getStatus() {
        return status;
    }

    public void setStatus(CommonStatus status) {
        this.status = status;
    }

}
